{include file=member.header.html}
<style type="text/css">
.account { font-size:14px; padding:8px; color:#F00; margin:1px; border:1px #FFC590 solid; background:#FFFFE3}
.account strong{ color:#F00; font-weight:bold; font-size:16px; font-family:arial}
.account_ok { font-size:14px; padding:8px; color:#090; margin:1px; border:1px #ACCE8E solid; background:#F8FEF2}
.account_ok strong{ color:#0000FF; font-weight:bold; font-size:16px; font-family:arial}

.content_jiekuan {padding:10px;border: 1px solid #e2e2e2; margin:10px 0;color: #666; background:#FFF }
.jiekuan_table th{ font-size:13px;line-height:30px; width:120px; text-align:right;color:#000;font-weight:normal}
.jiekuan_table td{font-size:12px;color:#666;}
.jiekuan_table td strong{ color:#F00;font-size:13px}
.jiekuan_table td span{ color:#F33}
.jiekuan_table a{ color:#00F;}
</style>
<div class="content_color">
<div class="content">
  {include file=member.menu.html}
  <div id="right">
       {include file=member.submenu.html}
      <div class="wrap">
          <div class="public_select table">
          <div class="my_money">
          <div class="my_monye_info" style="padding-left:55px">
          <dl><dt>收银台账户为：<strong>{$visitor.user_name|escape}</strong></dt></dl>
          <dl><dt>可提现金额为：<strong>{$money_money.money}</strong> 元</dt><dt></dt></dl>
<!--{if $money_money.rz_is_ok == 3 }-->
<script type="text/javascript">
$(function(){
    $('#user_form').validate({
        errorPlacement: function(error, element){
            $(element).next('.field_notice_1').hide();
            $(element).after(error);
        },
        success       : function(label){
            label.addClass('right').text('OK!');
        },
        onkeyup    : false,
        rules : {
            amount : {
                number     : true,
                required   : true,
                min        : {$user_tikuan},
				max        : {$money_money.money}
            },	
            password: {
                required : true
            }
        },
        messages : {
			amount  : {
				number     : '只能输入数字或金额类型',
                required   : '请正确输入结款金额，否则不给予处理',
				min        : '最低结款{$user_tikuan}元，请输入大于{$user_tikuan}元的金额',
				max        : '结款金额不能超过{$money_money.money}元，请修改金额'
            },		
            password : {
                required : '请输入您的支付密码'
            }
		
        }
    });
});
</script>
          <dl><dt>实名认证状态：<strong>通过认证</strong></dt></dl>
          <!--{if $money_money.money >= $user_tikuan}-->
          <div class="account_ok">
          您的余额已达到或超过 <strong>{$user_tikuan}</strong> 元，可以申请结款。最多可以结款 <strong>{$money_money.money}</strong> 元
          </div>          
<div class="content_jiekuan">
<form method="post" id="user_form">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="jiekuan_table">

    <tr>
    <th>银行开户名：</th>
    <td><strong>{$money_money.real_name}</strong><input name="real_name" type="hidden" value="{$money_money.real_name}"/></td>
  </tr>
  <tr>
    <th>银行名称：</th>
    <td><strong>{$money_money.bank_name}</strong><input name="bank_name" type="hidden" value="{$money_money.bank_name}"/></td>
  </tr>
  <tr>
    <th>银行/支付宝帐号：</th>
    <td><strong>{$money_money.bank_account}</strong><input name="bank_account" type="hidden" value="{$money_money.bank_account}"/></td>
  </tr>
  <tr>
    <th>提现金额：</th>
    <td><input type="text" name="amount" id="amount" class="text1" />
      <label class="field_notice_1">{$lang.money_danwei}  <span>(提现金额不能超过 <strong>{$money_money.money}</strong> {$lang.money_danwei})</span></label></td>
  </tr>
  <tr>
    <th>支付密码：</th>
    <td><!--{if $money_money.zf_pass}--><input type="password" name="password" id="password" class="text1" />  
      <label class="field_notice_1">请输入您的支付密码</label>
      <a href="index.php?app=my_money&act=setpaypassword">修改支付密码</a><!--{else}-->您还没有设置支付密码，请<a href="index.php?app=my_money&act=setpaypassword">设置支付密码</a><!--{/if}--></td>
  </tr>
  <tr>
    <th>&nbsp;</th>
    <td><input type="submit" id="confirm_button" value="确认结款" class="lcj_button"/> 提交后，请耐心等待客服的审核。一般付款时间为三个工作日</td>
  </tr>
</table>
</form>
</div>
          <!--{else}-->
          <dl><dt><div class="account">对不起，最低提现金额为 <strong>{$user_tikuan}</strong> {$lang.money_danwei}，您的帐号余额 <strong>{$money_money.money}</strong> {$lang.money_danwei}，所以还未满足提现条件！</div></dt></dl>
          <!--{/if}-->          
                   
<!--{else}-->

          <dl><dt>实名认证状态：<strong>尚未申请</strong></dt></dl>
          <dl><dt><strong>您必须通过银行实名认证才可以提现！！</strong></dt></dl>
          <dl><dt><img src="{res file=images/member/remit_pay_li.png}" width="17" height="16" align="absmiddle" /><a href="index.php?app=member&act=certificate">立即申请实名认证</a></dt></dl>
          <!--{if $money_money.zf_pass}-->
          <dl><dt><img src="{res file=images/member/remit_pay_li.png}" width="17" height="16" align="absmiddle" /><a href="index.php?app=my_money&act=setpaypassword">修改支付密码</a></dt></dl>          
          <!--{else}-->
          <dl><dt><img src="{res file=images/member/remit_pay_li.png}" width="17" height="16" align="absmiddle" />您还没有设置支付密码，请<a href="index.php?app=my_money&act=setpaypassword">设置支付密码</a></dt></dl>
          <!--{/if}--> 
          
<!--{/if}-->  

          </div>     
          </div>        
          </div>
    </div>
  </div>
</div>
</div>
{include file=footer_member.html}